[#ftl]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>需要登录</title>
<script type="text/javascript">
function reloadCaptcha(img){
	img.src="${base}/workspace/authcode?t="+(new Date()).getTime();
}
</script>
</head>
<body>
<h3>Login with Username and Password</h3>
<form name='f' action='${base}/workspace/dologin' method="post">
 <table>
    <tr><td>User:</td><td><input type='text' name='j_username' value=''></td></tr>
    <tr><td>Password:</td><td><input type='password' name='j_password'/></td></tr>
    <tr><td>Captcha:</td><td><input type="text" name="j_captcha"/>
    <img src="${base}/workspace/authcode?t=${.now?string('ddHHmmssSSS')}" onclick="reloadCaptcha(this)" /></td></tr>
    <tr><td colspan='2'><input id="_spring_security_remember_me" name="_spring_security_remember_me" type="checkbox" value="true"/>
    <label for="_spring_security_remember_me">记住我</label></td></tr>
    <tr><td colspan='2'><input name="submit" type="submit" value="Login"/></td></tr>
  </table>
</form>
<a href="http://localhost:8080/UserCenter/oauth/authorize?client_id=35c813f5-dee1-467f-9b85-8d263a0b06f1&redirect_uri=http://localhost:8080/xin2core/sso/xtwl_getticket?_type=1&response_type=code&scope=read+write&state=xxx">用户中心帐户登录</a>
</body>
</html>
